<%@page contentType="application/msword;charset=utf-8" %>
<%@ page language="java" import="java.util.*,util.*,orm.*" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<base href="<%=basePath%>">
    
    <title>个别教学活动文档教案</title>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
    <meta content="MSHTML 6.00.6000.16705" name="GENERATOR">
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<link href="reference/images/tab.css" rel="stylesheet" type="text/css">

</head>
<%
	CollectivityTeachingPlan ctp = (CollectivityTeachingPlan) request.getAttribute("WebConstants.CollectivityTeachingPlan");
	TeachingPlanBaseInfo tpbi = (TeachingPlanBaseInfo) request.getAttribute("TPBI");
	CollectivityHomework chw = (CollectivityHomework) request.getAttribute("CHW");
	ArrayList<CollectivityHomeworkInfo> chwiArr = (ArrayList<CollectivityHomeworkInfo>) request.getAttribute("CHWIArr");
%>

<body>
<table width="650" border="0" cellpadding="0" cellspacing="0" class="trb">
  <tr>
    <td height="30" align="center"><strong><font face="宋体" size="3">集体教学家庭作业</font></strong></td>
  </tr>
  <tr>
    <td class="s2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td class="s2_bottom"><table width="100%" border="0" cellpadding="5" cellspacing="0">
          <tr>
            <td width="20%" align="center" class="s2_bottom"><span class="s1">班级名称</span></td>
            <td align="left" class="s2_lebt"><%=chw.getClassName() %></td>
          </tr>
          <tr>
            <td align="center" class="s2_bottom"><span class="s1">作业日期</span></td>
            <td align="left" class="s2_lebt"><%=chw.getHomeworkDate().substring(0,10) %></td>
          </tr>
          <tr>
            <td align="center"><span class="s1">教师签名</span></td>
            <td align="left" class="s2_left"><%=request.getAttribute("teacherName")%></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td ><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><table width="100%" border="0" cellspacing="0" cellpadding="5">
                <tr>
                  <td width="10%" align="center" class="s2_bottom"><span class="s1">序号</span></td>
                  <td align="center" class="s2_lebt"><span class="s1">信息描述</span></td>
                </tr>
            </table></td>
          </tr>
          
          <%for(int CHomeworkID = 1; CHomeworkID < 6; CHomeworkID++){ %>  
          <tr>
            <td><table width="100%" border="0" cellspacing="0" cellpadding="5">
                <tr>
                  <td width="10%" rowspan="6" align="center" valign="middle" class="s2_bottom"><%=CHomeworkID%>. </td>
                  <td width="20%" align="center" class="s2_lebt">任务内容表述</td>
                  <td align="left" class="s2_lebt"><%=chwiArr.get(CHomeworkID-1).getTaskDefinition() %></td>
                </tr>
                <tr>
                  <td align="center" class="s2_lebt">使用素材说明</td>
                  <td align="left" class="s2_lebt"><%=chwiArr.get(CHomeworkID-1).getMaterial() %></td>
                </tr>
                <tr>
                  <td align="center" class="s2_lebt">方法指导</td>
                  <td align="left" class="s2_lebt"><%=chwiArr.get(CHomeworkID-1).getGuidingMeans() %></td>
                </tr>
                <tr>
                  <td align="center" class="s2_lebt">完成情况记录</td>
                  <td align="left" class="s2_lebt"><%=request.getAttribute("completeEnteringPrint"+CHomeworkID) %></td>
                </tr>
                <tr>
                  <td align="center" class="s2_lebt">备 注</td>
                  <td align="left" class="s2_lebt"><%=chwiArr.get(CHomeworkID-1).getRemark() %></td>
                </tr>
                
            </table></td>
          </tr>
          
          <%} %>
          
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>


